<!DOCTYPE html>
<html lang="zh-cn">
  <!-- the basic page layout, all others extends from this -->
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    {% block viewport %}
    <!-- default not responsable -->
    {% endblock %}
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>{% block title %}test{% endblock %}</title>

    <!-- The fav icon -->
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

    {% block style %}
    <!-- Bootstrap -->
    <link href="/static/lib/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/lib/bower_components/weui/dist/style/weui.min.css" rel="stylesheet">
    <link href="/static/lib/jquery-weui/dist/css/jquery-weui.min.css" rel="stylesheet">
    {% endblock %}

    {% block script %}
    <script src="/static/lib/bower_components/jquery/dist/jquery.min.js"></script>
    <script src="/static/lib/jquery-weui/dist/js/jquery-weui.min.js"></script>
    {% endblock %}

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    {% block body %} {% endblock %}

    {% block footerscript %}
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="/static/lib/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
    {% endblock %}
  </body>
</html>

